<?php
$host = "localhost";
$user = "ampersand";
$pass = "palomitas";
$dbname = "LYONUNO";

$canal = mysql_connect($host, $user, $pass);
$db = mysql_select_db($dbname);
$consulta = 'select nick,score from USERS order by score desc';

$res = mysql_db_query($dbname, $consulta, $canal);

while($row = mysql_fetch_array($res)){
	echo $row["code"];
	echo $row["flag"];
}
mysql_free_result($res);
mysql_close($canal);
?>
